import {configureStore} from '@reduxjs/toolkit'
import homeReducer from './modules/home'
import entireReducer from './modules/entire'
import detaileReducer from './modules/detail'
import mainReducer from './modules/main'

const store = configureStore({
    reducer: {
        home: homeReducer,  // home界面数据
        entire: entireReducer, // 更多界面数据
        detail: detaileReducer,  // 详情界面数据
        main: mainReducer       // 所有组件公共数据 header配置 用户信息
    }
})

export default store